/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.PhoneCodeStore;
import com.techshop.model.PhoneCodeStoreId;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface PhoneCodeStoreDao
{
    public PhoneCodeStore getById(PhoneCodeStoreId phoneCodeStoreId);
    public PhoneCodeStore getByPhoneCodeAndStore(int phoneCodeId, int storeId);
    public List<PhoneCodeStore> search(int storeId, int quantity);
    public List<PhoneCodeStore> getAll();
    public boolean update(PhoneCodeStore phoneCodeStore);
    public boolean insert(PhoneCodeStore phoneCodeStore);
}